import request from '@/utils/request'

// 查询供应商考察列表
export function listVendorExamine(query) {
  return request({
    url: '/md/vendorExamine/list',
    method: 'get',
    params: query
  })
}

// 查询供应商考察详细
export function getVendorExamine(id) {
  return request({
    url: '/md/vendorExamine/' + id,
    method: 'get'
  })
}

// 新增供应商考察
export function addVendorExamine(data) {
  return request({
    url: '/md/vendorExamine',
    method: 'post',
    data: data
  })
}

// 修改供应商考察
export function updateVendorExamine(data) {
  return request({
    url: '/md/vendorExamine',
    method: 'put',
    data: data
  })
}

// 删除供应商考察
export function delVendorExamine(id) {
  return request({
    url: '/md/vendorExamine/' + id,
    method: 'delete'
  })
}
